package mjava.lib;

import java.io.Serializable;

public class Constructeur implements DDEF, Serializable {
	private static final long serialVersionUID = 2758438256105538334L;
	private DPARAMS paramList;
	private int depl;
	
	public Constructeur(DPARAMS params) {
		this.paramList = params;
	}
	
	public DPARAMS getParams() {
		return paramList;
	}
	
	public String getConstructorLable(String className) {
		return "Constr." + className + this.getParams().getParamsTypeNamesString() + "_LBL\n";
	}
	
	public void setDeplacement(int d) {
		this.depl = d;
	}
	
	public int getDeplacement() {
		return this.depl;
	}
}
